<?php

class Link
{

    private $id_ = -1;
	private $text_ = "";
	private $idlinkpage_ = -1;
	
	public function __construct()
	{}

	public function getId()
	{
		return $this->id_;
	}
	
	public function setId( $id )
	{
		$this->id_ = $id;
	}
	
	public function getText()
	{
		return $this->text_;
	}
	
	public function setText( $text )
	{
		$this->text_ = $text;
	}
	
	public function getIdLinkPage()
	{
		return $this->idlinkpage_;
	}
	
	public function setIdLinkPage( $idlinkpage )
	{
		$this->idlinkpage_ = $idlinkpage;
	}
	
	public function setProperties( $id, $text, $idlinkpage )
	{
		$this->id_ = $id;
		$this->text_ = $text;
		$this->idlinkpage_ = $idlinkpage;
	}
}
?>